package com.demo.small_tool.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/xml")
public class XmlController {

    /**
     * 跳转到XML格式化页面
     */
    @GetMapping("/format")
    public String toJsonFormatPage(){
        return "formatXml";
    }
}
